package com.fs.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fs.common.annotation.ColumnDesc;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author ACE
 * @desc 上传附件实体类
 * @creationTime 2019-02-28 14:32
 * @projectName weixinframe
 * @packageName com.fs.pojo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("s_attachment")
@EqualsAndHashCode(callSuper=false)
public class Attachment extends IdEntity{
	@ColumnDesc(name = "新文件名称")
	private String title;

	@ColumnDesc(name="原文件名称")
	private String original;

	@ColumnDesc(name="上传状态")
	private String state;

	@ColumnDesc(name="文件类型")
	private String type;

	@ColumnDesc(name="文件路径")
	private String url;

	@ColumnDesc(name="文件大小")
	private Long size;

	@ColumnDesc(name="所属企业ID")
	private String comId;
}
